package com.bestcem.xm.txtanls.service.dto.keyword;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author liheng
 * @version v1.0
 * @date 2021/5/11-20:23
 */
@Data
@NoArgsConstructor
public class ListKeywordDTO {


    /**
     * 关键词次数和频率信息
     */
    private List<KeywordCountDTO> keywords;
    /**
     * 原话总数量
     */
    private Long total;

    public ListKeywordDTO(List<KeywordCountDTO> keywords, Long total) {
        this.keywords = keywords;
        this.total = total;
    }

}
